<!DOCTYPE html>
<html lang="zh-Hans">


<head>
    <title>机票查询订购系统</title>
        <!-- meta -->
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- css -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">

    <!-- js -->
    <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="http://huangkun123.com/static/admin/js/layui.js"></script>
    <script src="http://huangkun123.com/static/admin/js/jquery-1.12.4.min.js"></script>
    <link rel="stylesheet" href="http://huangkun123.com/static/admin/css/layui.css">
</head>
<body>

<div class="container" style="background: #f2f2f2;padding-bottom: 150px;">
    <form action="/user/admin_z" method="post">
    <div class="jumbotron" style="background: #009688;">
        <p style="text-align: center;">机票查询订购系统</p>
        <div class="user_status" style="float: left;">
            <a href="#" >角色：管理员</a>
        </div>
        <div style="float: right;">
            <a href="/user/manager" >首页&nbsp&nbsp</a>
            <a href="/user/admin_z" >添加航班&nbsp&nbsp</a>

        <a href="/user/login_out">退出登陆</a>
        </div>

        </div>


    <br>
    <br>
    <br>
    <br>
    <div style="text-align: center;">
      <label style="text-align: center;font-size:20px;margin-bottom: 20px;">增加航班数据</label>
    </div>
    <br>
                 <br>

     <div class="layui-form-item" style="text-align: center">
    <div class="layui-inline">
      <label class="layui-form-label">出发</label>
      <div class="layui-input-inline">
        <input style="width:250px" type="tel" name="time_start" lay-verify="required|phone" autocomplete="off" class="layui-input" placeholder="输入出发日期（2020-11-01 12:30:55）">
      </div>
    </div>
         <br>
 <br>


    <div class="layui-inline">
      <label class="layui-form-label">到达</label>
      <div class="layui-input-inline">
        <input style="width:250px" type="text" name="time_arrived" lay-verify="email" autocomplete="off" class="layui-input" placeholder="输入到达日期">
      </div>
        <br>
 <br>
 <br>
    </div>
    <div class="layui-form-item" style="text-align: center">
    <div class="layui-inline">
      <label class="layui-form-label">起点站</label>
      <div class="layui-input-inline">
        <input style="width:250px" type="tel" name="start" lay-verify="required|phone" autocomplete="off" class="layui-input" placeholder="输入起点站">
      </div>
    </div>
         <br>
<br>

        <div class="layui-form-item" style="text-align: center">
    <div class="layui-inline">
      <label class="layui-form-label">终点站</label>
      <div class="layui-input-inline">
        <input style="width:250px" type="tel" name="arrived" lay-verify="required|phone" autocomplete="off" class="layui-input" placeholder="输入终点站">
      </div>
    </div>

  </div>

        <div class="layui-form-item" style="text-align: center">
    <div class="layui-inline">
      <label class="layui-form-label">车次</label>
      <div class="layui-input-inline">
        <input style="width:250px" type="tel" name="num" lay-verify="required|phone" autocomplete="off" class="layui-input" placeholder="输入车次">
      </div>
    </div>

  </div>

        <div class="layui-form-item" style="text-align: center">
    <div class="layui-inline">
      <label class="layui-form-label">余票</label>
      <div class="layui-input-inline">
        <input style="width:250px" type="tel" name="seats" lay-verify="required|phone" autocomplete="off" class="layui-input" placeholder="输入终点站">
      </div>
    </div>
         <br>

  </div>

        <div class="layui-form-item" style="text-align: center">
    <div class="layui-inline">
      <label class="layui-form-label">价格</label>
      <div class="layui-input-inline">
        <input style="width:250px" type="tel" name="price" lay-verify="required|phone" autocomplete="off" class="layui-input" placeholder="输入价格">
      </div>
    </div>
<p style="color:red">{{message}}</p>
  </div>
    <div style="text-align: center;" >
        <div  >
    <button style="float:right" type="submit" class="layui-btn" id="tj_btn">添加</button>
<!--    <a href="/login"><button type="button" class="layui-btn ">返回</button> </a>-->
 </div>
    </div>

</form>
</div>

<script>
<!--    $('#tj_btn').click(function(){-->
<!--        alert('添加车票成功！')-->
<!--    })-->
</script>
</body>
</html>